package priv.dajie.tzzq.model;

import priv.dajie.tzzq.spider.model.Platform;

import java.math.BigDecimal;
import java.util.Date;

public class SellStateItem {
    private int id;
    private String steamName;
    private String sellID;
    private String tradeId;
    private SellGoodsState sellGoodsState;
    private Platform platform;
    private SellType sellType;
    private BigDecimal buyPrice;
    private BigDecimal sellPrice;
    private Date time;
    private Date buyTime;

    public SellStateItem(int id, String steamName, String sellID, String tradeId, SellGoodsState sellGoodsState, Platform platform, SellType sellType, BigDecimal buyPrice, BigDecimal sellPrice, Date time, Date buyTime) {
        this.id = id;
        this.steamName = steamName;
        this.sellID = sellID;
        this.tradeId = tradeId;
        this.sellGoodsState = sellGoodsState;
        this.platform = platform;
        this.sellType = sellType;
        this.buyPrice = buyPrice;
        this.sellPrice = sellPrice;
        this.time = time;
        this.buyTime = buyTime;
    }

    public int getId() {
        return id;
    }

    public String getSteamName() {
        return steamName;
    }

    public String getSellID() {
        return sellID;
    }

    public SellGoodsState getSellGoodsState() {
        return sellGoodsState;
    }

    public Platform getPlatform() {
        return platform;
    }

    public SellType getSellType() {
        return sellType;
    }

    public BigDecimal getBuyPrice() {
        return buyPrice;
    }

    public BigDecimal getSellPrice() {
        return sellPrice;
    }

    public Date getTime() {
        return time;
    }

    public Date getBuyTime() {
        return buyTime;
    }

    public String getTradeId() {
        return tradeId;
    }

    @Override
    public String toString() {
        return "SellStateItem{" +
                "id=" + id +
                ", steamName='" + steamName + '\'' +
                ", sellID='" + sellID + '\'' +
                ", tradeId='" + tradeId + '\'' +
                ", sellGoodsState=" + sellGoodsState +
                ", platform=" + platform +
                ", sellType=" + sellType +
                ", buyPrice=" + buyPrice +
                ", sellPrice=" + sellPrice +
                ", time=" + time +
                ", buyTime=" + buyTime +
                '}';
    }
}
